<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="inc/CheckLogin.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=GB2312" http-equiv="Content-Type">
<title>管理员管理</title>
<link type="text/css" rel="stylesheet" href="images/style.Css">
<script type="text/javascript">
 

  function  checkLogin(){
	var uname=document.getElementById("uname");
	var upassword=document.getElementById("upassword");
	if(uname.value==""){
		alert("管理号不能为空");
	    uname.focus();
	   return false;
	}else if(upassword.value==""){
		alert("密码不能为空");
	  	upassword.focus();
		return false;
	}
		return true;
  }
</script>
</head>
<body>
	<form action="SysUsersAction!update.do" method="post" name="frm" onsubmit="return checkLogin()">
<table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#E1E1E1" class="css_table">
	<tbody><tr class="css_menu">
		<td colspan="2"><table width="100%" cellspacing="0" cellpadding="4" border="0" class="css_main_table">
				<tbody><tr>
					<td class="css_main"><a href="SysUsersAction!findSysUsers.do">管理员管理</a></td>
				</tr>
			</tbody></table></td>
	</tr>
		
		<tr>
			<td class="css_col11">管理员帐号：
				<div style="color:#ccc;letter-spacing: 0px;font-size:13px;" id="hUsername">长度为3-20位&nbsp;</div></td>
			<td class="css_col21">
			<input type="hidden" name="uid"  value="<%=request.getParameter("uid") %>"/>
			<input type="text" style="width:300px"  size="40" name="uname"  value="<%=request.getParameter("uname") %>" onblur="hUsername.style.color='#ccc';" onfocus="hUsername.style.color='red';"  id="uname"  class="css_input"> </td>
		</tr>
		
		<tr>
			<td class="css_col12">管理员密码：
				<div style="color:#ccc;letter-spacing: 0px;font-size:13px;" id="hPassword">长度3-16位,采用MD5加密 </div></td>
			<td class="css_col22"><input type="password" style="width:300px" size="40" onblur="hPassword.style.color='#ccc';" onfocus="hPassword.style.color='red';" id="upassword" name="upassword" class="css_input"> </td>
		</tr>
		
		<tr>
			<td class="css_col11">状态：</td>
			<td class="css_col21">
			 启用<input type="radio" value="1" name="ustatus" checked="checked" >&nbsp;
			 禁止<input type="radio" value="0" name="ustatus">&nbsp;
			</td></tr>
		<tr>
		<tr class="css_page_list">
			<td colspan="2"><input type="submit" value="保存" name="Submit"></td>
		</tr>
	
</tbody></table>
</form>


</body></html>